﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("FinishedOrderInfo", "FinishedOrderInfo", new string[] { "ORDERNO" })]
    [KnownType(typeof(FinishedOrderInfo))]
    public class FinishedOrderInfo : MB.Orm.Common.BaseModel
    {
        public FinishedOrderInfo()
        {
        }
        private String _ORDERNO;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("ORDERNO", System.Data.DbType.String)]
        public String ORDERNO { get { return _ORDERNO; } set { _ORDERNO = value; } }

        private String _BATCH_NO;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("BATCH_NO", System.Data.DbType.String)]
        public String BATCH_NO { get { return _BATCH_NO; } set { _BATCH_NO = value; } }

        private Int32 _BATCH_SUBNO;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("BATCH_SUBNO", System.Data.DbType.Int32)]
        public Int32 BATCH_SUBNO { get { return _BATCH_SUBNO; } set { _BATCH_SUBNO = value; } }

        private DateTime _RATIONDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("RATIONDATE", System.Data.DbType.DateTime)]
        public DateTime RATIONDATE { get { return _RATIONDATE; } set { _RATIONDATE = value; } }

        private Int32 _FINISHFLAG;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("FINISHFLAG", System.Data.DbType.Int32)]
        public Int32 FINISHFLAG { get { return _FINISHFLAG; } set { _FINISHFLAG = value; } }

    }
}
